package com.cqut.pojo.vo;

import com.cqut.model.ProblemManager;
import com.cqut.util.BeanUtil;

public class problemInfoVO {
	private static final long serialVersionUID = 1L;
    
    private String problemDetail;
    
    private String programme;
    
    private String problemId;
    
    public String getProblemId() {
		return problemId;
	}

	public void setProblemId(String problemId) {
		this.problemId = problemId;
	}

	public String getProblemDetail() {
        return this.problemDetail;
    }
    
    public void setProblemDetail(String problemDetail) {
        this.problemDetail = problemDetail;
    }
    
    public String getProgramme() {
        return this.programme;
    }
    
    public void setProgramme(String programme) {
        this.programme = programme;
    }
    
    public ProblemManager toModel() {
        ProblemManager model = new ProblemManager();
		BeanUtil.convert(this, model);
		return model;
    }

}
